package com.ysu.demo.enums;

import lombok.Getter;

/**
 * @author ：lhw
 * @date ：Created in 2019/8/9 10:06
 */
@Getter
public enum ExceptionEnum {
    NOT_FIND(404,"数据不存在"),
    FAIL_CHECK(405,"校验不通过"),
    NOT_PASS(403,"无访问权限"),
    ;

    private Integer code;
    private String msg;
    ExceptionEnum(Integer code, String msg) {
        this.code = code;
        this.msg = msg;
    }
}
